package com.koron.css2.newProjectCenter.bean.query;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.koron.common.bean.query.BaseQueryBean;

import java.util.Date;
import java.util.List;

public class PubUpNoticeQueryBean extends BaseQueryBean {

	/**
	 * 主键
	 */
	private String id;

	/**
	 * 机构
	 */
	private String orgId;
	/**
	 * 标题
	 */
	private String title;
	/**
	 * 内容
	 */
	private String content;
	/**
	 * 备注
	 */
	private String remarks;
	/**
	 * 租户编号
	 */
	private String tenant;

	/**
	 * 失效时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	private Date loseTime;

	/**
	 * 公告位置
	 */
	private String noticePlace;

	/**
	 * 阅读状态 1 select  2 update 3 清除消息
	 */
	private Integer toDo;


	/**
	 * 创建人ID
	 */
	private String  createAccount;

	/**
	 * 排序号
	 */
	private Integer sortNo;

	/**
	 * 排序号
	 */
	private Integer status;

	/**
	 * 创建时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	private Date  createTime;


	/**
	 * 排序号
	 */
	private String  tenantId;

	/**
	 * 备注
	 */
	private String comments;

	/**
	 * 最后修改人ID
	 */
	private String updateAccount;

	/**
	 * 最后修改人名称
	 */
	private String updateName;
	/**
	 * 是否删除  1已删除 0未删除
	 */
	private Integer isDeleted;

	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	private Date updateTime;

	/**
	 * 申请人姓名
	 */
	private String createName;

	public String getCreateAccount() {
		return createAccount;
	}

	public void setCreateAccount(String createAccount) {
		this.createAccount = createAccount;
	}

	public Integer getSortNo() {
		return sortNo;
	}

	public void setSortNo(Integer sortNo) {
		this.sortNo = sortNo;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getTenantId() {
		return tenantId;
	}

	public void setTenantId(String tenantId) {
		this.tenantId = tenantId;
	}

	public String getComments() {
		return comments;
	}

	public void setComments(String comments) {
		this.comments = comments;
	}

	public String getUpdateAccount() {
		return updateAccount;
	}

	public void setUpdateAccount(String updateAccount) {
		this.updateAccount = updateAccount;
	}

	public String getUpdateName() {
		return updateName;
	}

	public void setUpdateName(String updateName) {
		this.updateName = updateName;
	}

	public Integer getIsDeleted() {
		return isDeleted;
	}

	public void setIsDeleted(Integer isDeleted) {
		this.isDeleted = isDeleted;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getCreateName() {
		return createName;
	}

	public void setCreateName(String createName) {
		this.createName = createName;
	}

	/*
	* 3 清除消息 ids 是消息的id的list集合
	* */
	private List<String> ids;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getOrgId() {
		return orgId;
	}

	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public String getTenant() {
		return tenant;
	}

	public void setTenant(String tenant) {
		this.tenant = tenant;
	}

	public Date getLoseTime() {
		return loseTime;
	}

	public void setLoseTime(Date loseTime) {
		this.loseTime = loseTime;
	}

	public String getNoticePlace() {
		return noticePlace;
	}

	public void setNoticePlace(String noticePlace) {
		this.noticePlace = noticePlace;
	}



	public Integer getToDo() {
		return toDo;
	}

	public void setToDo(Integer toDo) {
		this.toDo = toDo;
	}

	public List<String> getIds() {
		return ids;
	}

	public void setIds(List<String> ids) {
		this.ids = ids;
	}
}
